<?php
//定义root path
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', dirname(__FILE__) . DS);
require('../AutoLoader.php');
spl_autoload_register('Autoloader::load');
//set path
Autoloader::$directory = ROOT;
Autoloader::$paths = array('../../sdk/');
//引入config文件
define("ROOT_PATH", __DIR__ . "/");
define("APP_NAME", "script");
define('CONFIG_PATH', json_encode(array(
        ROOT_PATH . '../../sdk/Config/',
    ))
);